package com.itheima.object;

public class Students {
    String name;
    int math;
    int english;
    int chinese;
    public void printscore() {
        System.out.println(this);
        System.out.println(this.name);
    }
    public Students(String name,int math,int english,int chinese) {
        this.name=name;
        this.math=math;
        this.english=english;
        this.chinese=chinese;
    }
}
